package com.example.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import javax.validation.constraints.NotBlank;
import java.util.Date;

public class User {
    @TableId
    private String sno;
    private String name;
    private Integer age;
    private String major;

    @TableField(value = "dormBuildingNumber")
    private String dormBuildingNumber;

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getDormBuildingNumber() {
        return dormBuildingNumber;
    }

    public void setDormBuildingNumber(String dormBuildingNumber) {
        this.dormBuildingNumber = dormBuildingNumber;
    }
}
